/**
 * @Author: lll
 * @Email:li.lele@vpclub.cn
 * @Date: create in 2020/7/13
 */
package cn.vpclub.admin.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.Date;

/**
 * 点赞表
 * @author Administrator
 */
@Getter
@Setter
@TableName(value = "stars")
public class StarsEntity implements Serializable {
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private String id;

    @TableField(value = "userId")
    private String userId;

    @TableField(value = "articleId")
    private String articleId;

    @TableField(value = "createdTime", fill = FieldFill.INSERT)
    private Date createdTime;

    @TableField(value = "updatedTime", fill = FieldFill.UPDATE)
    private Date updatedTime;
}
